import requests
def get(url, data=None,headers={},verify=False,allow_redirects=True,timeout=3):
    try:
        data = requests.get(url, params=data, headers=headers,verify=verify,allow_redirects=allow_redirects,timeout=timeout)
    except Exception as e:
        return "error"
    return data
def post(url, data=None,headers={},verify=False,allow_redirects=True,timeout=3):
    try:
        data = requests.post(url, params=data, headers=headers,verify=verify,allow_redirects=allow_redirects,timeout=timeout)
    except Exception as e:
        return "error"
    return data